﻿<%@ Page Language="C#" MasterPageFile="../main.master" AutoEventWireup="true" CodeFile="member_list.aspx.cs" Inherits="vboard_webmanager_user_list" Title="제목 없음" %>

<asp:Content ID="Content1" ContentPlaceHolderID="BodyContentPlaceHolder" Runat="Server">

	<h2>회원 &gt; 목록</h2>

	<div>
		전체회원 : <asp:Literal ID="NumberOfAllUsersLiteral" runat="server" />명
		<br />
		온라인회원 : <asp:Literal ID="NumberOfUsersOnlineLiteral" runat="server" />명
	</div>
	<asp:GridView ID="UserGridView" runat="server" AutoGenerateColumns="False" 
		DataKeyNames="UserName" onrowdeleting="UserGridView_RowDeleting" CellPadding="5" 
		ShowFooter="True" Width="100%" PageSize="20">
		<FooterStyle BackColor="Gray" />
		<Columns>
			<asp:HyperLinkField DataNavigateUrlFields="ProviderUserKey" DataNavigateUrlFormatString="member_update.aspx?userid={0}" DataTextField="UserName" HeaderText="UserName" />
			<asp:BoundField DataField="Email" HeaderText="Email" />
			<asp:BoundField DataField="CreationDate" HeaderText="CreationDate" />
			<asp:BoundField DataField="LastLoginDate" HeaderText="LastLoginDate" />
			<asp:CheckBoxField DataField="IsOnline" HeaderText="Online" />
			<asp:CheckBoxField DataField="IsApproved" HeaderText="Approved" />
			<asp:CheckBoxField DataField="IsLockedOut" HeaderText="LockedOut" />
			<asp:TemplateField>
				<ItemTemplate>
					<asp:Button ID="RemoveButton" runat="server" CausesValidation="false" CommandName="Delete" Text="삭제"
						OnClientClick="<%$ Resources:VGlobalResources, General_Script_RemoveConfirm %>" />
				</ItemTemplate>
			</asp:TemplateField>
		</Columns>
		<HeaderStyle BackColor="Gray" />
		<AlternatingRowStyle BackColor="LightGray" />
	</asp:GridView>

	<VWeb:PagerButton ID="UserGridViewPagerButton" runat="server" 
		onpageindexchanged="UserGridViewPagerButton_PageIndexChanged">
	</VWeb:PagerButton>
</asp:Content>